import request from '@/utils/http'
// 获取登录数据
export const loginAPI = ({ nickname, password }) => {
  return request({
    url: '/login',
    method: 'POST',
    data: {
      nickname,
      password,
    }
  })
}